{{!connect "screen/title.css"}}

<div class="title-head">
	{{?is_hostpage}}
		<img src="{{!static type='images' 'title/logo.gif'}}" alt="Platonica" class="logo-" />
	{{?:}}
		<a href="{{/}}"><img src="{{!static type='images' 'title/logo.gif'}}" alt="Platonica" class="logo-" /></a>
	{{/?}}
	<ul class="menu-">
		{{?is_hostpage}}
		<li class="item- item-current-"><span class="bg-l-"><span class="bg-r-">главная</span></span></li>
		{{?:}}
		<li class="item-"><span class="bg-l-"><a href="{{/}}" class="bg-r-">главная</a></span></li>
		{{/?}}

		{{?is_showfeed}}
		<li class="item- item-current-"><span class="bg-l-"><span class="bg-r-">все записи</span></span></li>
		{{?:}}
		<li class="item-"><span class="bg-l-"><a href="{{/}}showfeed" class="bg-r-">все записи</a></span></li>
		{{/?}}

		{{?is_allcommunities}}
		<li class="item- item-current-"><span class="bg-l-"><span class="bg-r-">список сообществ</span></span></li>
		{{?:}}
		<li class="item-"><span class="bg-l-"><a href="{{/}}allcommunities" class="bg-r-">список сообществ</a></span></li>
		{{/?}}
		
		{{?is_createcommunity}}
		<li class="item- item-current-"><span class="bg-l-"><a href="{{/}}createcommunity" class="bg-r-">создать сообщество</a></span></li>
		{{?:}}
		<li class="item-"><span class="bg-l-"><a href="{{/}}createcommunity" class="bg-r-">создать сообщество</a></span></li>
		{{/?}}
		
		{{?is_members}}
		<li class="item- item-current-"><span class="bg-l-"><span class="bg-r-">пользователи узла</span></span></li>
		{{?:}}
		<li class="item-"><span class="bg-l-"><a href="{{/}}members" class="bg-r-">пользователи узла</a></span></li>
		{{/?}}
		
		
	</ul>
</div>
